package springboot.hello.helloSpringboot.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import springboot.hello.helloSpringboot.entity.Hoslist;
import springboot.hello.helloSpringboot.entity.Orlist;
import springboot.hello.helloSpringboot.mapper.OrlistMapper;

@Component
public class RegistrationFormService {
    @Autowired
    public OrderMapper mapper;

    public void insertRegistrationForm(String uname, String usex , int uage, String uphone, String uaddress, String uhospital, String ucategory, String udate) {
        mapper.insertRegistrationForm(uname, usex,uage,uphone,uaddress,uhospital,ucategory,udate);
    }


}
